from .util import path2class
from .ModelInterface import Model
from .timerTypeTrigger import repeat


def by_path(path) -> type[Model]:
    return path2class[path]


def all() -> list[type[Model]]:
    return path2class.values()
